:root {
  --vp-c-bg: #ffffff;
  --vp-c-bg-alt: #f8f9fa;
  --vp-c-bg-elv: rgba(240, 240, 240, 0.8);
  --vp-c-bg-soft: rgba(250, 250, 250, 0.6);

  --vp-c-border: rgba(0, 0, 0, 0.08);
  --vp-c-divider: rgba(0, 0, 0, 0.05);
  --vp-c-gutter: rgba(0, 0, 0, 0.025);

  --vp-c-text-1: rgba(0, 0, 0, 0.87);
  --vp-c-text-2: rgba(0, 0, 0, 0.6);
  --vp-c-text-3: rgba(0, 0, 0, 0.38);

  --vp-c-brand-1: #0077cc;
  --vp-c-brand-2: #3399ff;
  --vp-c-brand-3: #005fa3;

  --vp-c-brand-soft: rgba(0, 119, 204, 0.1);
  --vp-c-brand-soft-bg: rgba(200, 220, 255, 0.25);

  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: -webkit-linear-gradient(120deg, var(--vp-c-purple-3), var(--vp-c-brand-3));
  --vp-home-hero-image-filter: blur(44px);

  --overlay-gradient: color-mix(in srgb, var(--vp-c-brand-1), transparent 40%);
}

.dark {
  --vp-c-bg: #090b18;
  --vp-c-bg-alt: #0d101e;
  --vp-c-bg-elv: rgba(15, 18, 30, 0.6);
  --vp-c-bg-soft: rgba(25, 28, 40, 0.4);

  --vp-c-border: rgba(255, 255, 255, 0.035);
  --vp-c-divider: rgba(255, 255, 255, 0.04);
  --vp-c-gutter: rgba(255, 255, 255, 0.015);

  --vp-c-text-1: rgba(255, 255, 255, 0.88);
  --vp-c-text-2: rgba(255, 255, 255, 0.6);
  --vp-c-text-3: rgba(255, 255, 255, 0.38);

  --vp-c-brand-1: #2d88b8;
  --vp-c-brand-2: #60b6cc;
  --vp-c-brand-3: #2f7f85;

  --vp-c-brand-soft: rgba(110, 100, 220, 0.10);
  --vp-c-brand-soft-bg: rgba(28, 30, 48, 0.35);

  --overlay-gradient: color-mix(in srgb, var(--vp-c-brand-1), transparent 75%);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.dark ::-webkit-scrollbar-track {
  background: rgba(20, 22, 34, 0.2);
}

::-webkit-scrollbar-thumb {
  background: var(--vp-c-brand-3);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--vp-c-brand-1);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--vp-c-brand-3) rgba(0, 0, 0, 0.1);
}

.dark * {
  scrollbar-color: var(--vp-c-brand-3) rgba(20, 22, 34, 0.2);
}

.VPFooter {
  border-top: 1px solid var(--vp-c-border);
  position: relative;
  overflow: hidden;
}

.VPFooter .container {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.VPFooter .message {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--vp-c-text-2);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.VPFooter .copyright {
  text-align: center;
}

.VPFooter .copyright a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--vp-c-bg-soft);
  border: 1px solid var(--vp-c-border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--vp-c-text-1);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.VPFooter .copyright a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--vp-c-divider), transparent);
  transition: left 0.5s;
}

.VPFooter .copyright a:hover::before {
  left: 100%;
}

.VPFooter .copyright a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--vp-c-gutter);
  border-color: var(--vp-c-brand-soft);
  background: var(--vp-c-bg-elv);
  color: var(--vp-c-brand-1);
}

.VPFooter .copyright img {
  height: 24px !important;
  width: auto !important;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 4px var(--vp-c-gutter));
}

.VPFooter .copyright a:hover img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 8px var(--vp-c-gutter)) brightness(1.1);
}

.dark .VPFooter .copyright img {
  filter: drop-shadow(0 2px 4px var(--vp-c-gutter)) brightness(1.2);
}

.dark .VPFooter .copyright a:hover img {
  filter: drop-shadow(0 4px 8px var(--vp-c-gutter)) brightness(1.3);
}

@media (max-width: 768px) {
  .VPFooter .container {
    padding: 1.5rem 1rem;
  }
  
  .VPFooter .copyright a {
    padding: 10px 20px;
    font-size: 0.85rem;
    gap: 10px;
  }
  
  .VPFooter .copyright img {
    height: 20px !important;
  }
  
  .VPFooter .message {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

.VPFooter .copyright a:hover {
  box-shadow: 0 8px 25px var(--vp-c-brand-soft);
  border-color: var(--vp-c-brand-2);
}

.VPFooter {
  scrollbar-width: thin;
  scrollbar-color: var(--vp-c-brand-3) transparent;
}

.VPFooter::-webkit-scrollbar {
  width: 6px;
}

.VPFooter::-webkit-scrollbar-track {
  background: transparent;
}

.VPFooter::-webkit-scrollbar-thumb {
  background: var(--vp-c-brand-3);
  border-radius: 3px;
}
